#pragma once

#include <vector>
// CMyComboBox

class CMyComboBox : public CComboBox
{
	DECLARE_DYNAMIC(CMyComboBox)

public:
	CMyComboBox();
	virtual ~CMyComboBox();
	
protected:
	DECLARE_MESSAGE_MAP()
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
public:
	virtual void DrawItem(LPDRAWITEMSTRUCT /*lpDrawItemStruct*/);
	virtual int AddString(LPCTSTR lpszString);

	virtual int DeleteString(UINT nIndex);
	virtual void GetLBText(int nIndex, CString& rString) const;
	void GetWindowText(	CString& rString ) const;
	std::vector<CString> m_vecStrings;
};


